libxl: explicitly check for libmath in autoconf
authorDario Faggioli <raistlin@linux.it>
Fri, 6 Jul 2012 12:17:45 +0000 (13:17 +0100)
committerDario Faggioli <raistlin@linux.it>
Fri, 6 Jul 2012 12:17:45 +0000 (13:17 +0100)
commitd01089fc667ec8f2c64036882c9e8fb16d6162df
tree324273529ba883f4081d29f3f211efd00eca51c3
parent8cea5d337f061c39ec2c639f262becd49dafe361
libxl: explicitly check for libmath in autoconf

As well as explicitly add -lm to libxl's Makefile.

This is because next patch uses floating point arithmetic, and
it is better to state it clearly that we need libmath (just in
case we find a libc  that wants that to be explicitly enforced).

Notice that autoconf should be rerun after applying this change.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- s/libmath/libm/ in error message ]
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/config.h.in
tools/configure
tools/configure.ac
tools/libxl/Makefile